package com.jbinfo.qingcaowan.studyManager.dto;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
* @ClassName: CycleDetail 
* @Description: TODO
* @author ZhangLei
* @date 2016年7月11日 上午10:26:33
 */
public class CycleDetailDTO implements Serializable{
    /** 
	* @Fields serialVersionUID : TODO
	*/ 
	private static final long serialVersionUID = 368572938341209284L;

	private String id;

    private String mainId;

    private Date taskDate;
    
    private String strTaskDate;

    private String taskName;

    private Integer taskOrder;
    
    private Integer taskTime;

    private Date gmtCreate;

    private String createUser;

    private Date gmtModified;

    private String modifiedUser;

    private String validateFlag;

    private String remarks;
    
    private String orgId;
    
    // 书籍总的阅读天数
    private Integer cycleDate;
    
    private String bookId;
    
    private String bookName;

    private String bookImg;

    private String words;

    private String chapter;

    private String price;

    private Integer type;

    private String press;
    
    private String author;
    
    private String readRate; // 阅读百分比
    
    private String userId; // 用户ID
    
    @DateTimeFormat(pattern="yyyy-MM")
    private Date queryDate; // 查询日期
    
    private String strQueryDate; // 查询日期   yyyy-MM
    
    // 学习计划中的书籍列表
    private String cycleMonth;  // 学习计划中的月份
    private String minTaskDate; // 书籍的最小任务日期
    private String maxTaskDate; // 书籍的最大任务日期
    
    private Integer nTotalTaskDate; // 学习计划总阅读天数
    
    private String preReadTime; // 学习计划中 预测阅读时间（分钟）
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getMainId() {
        return mainId;
    }

    public void setMainId(String mainId) {
        this.mainId = mainId == null ? null : mainId.trim();
    }

    public Date getTaskDate() {
        return taskDate;
    }

    public void setTaskDate(Date taskDate) {
        this.taskDate = taskDate;
    }

    public String getStrTaskDate() {
		return strTaskDate;
	}

	public void setStrTaskDate(String strTaskDate) {
		this.strTaskDate = strTaskDate;
	}

	public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName == null ? null : taskName.trim();
    }

    public Integer getTaskOrder() {
        return taskOrder;
    }

    public void setTaskOrder(Integer taskOrder) {
        this.taskOrder = taskOrder;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser == null ? null : createUser.trim();
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getModifiedUser() {
        return modifiedUser;
    }

    public void setModifiedUser(String modifiedUser) {
        this.modifiedUser = modifiedUser == null ? null : modifiedUser.trim();
    }

    public String getValidateFlag() {
        return validateFlag;
    }

    public void setValidateFlag(String validateFlag) {
        this.validateFlag = validateFlag == null ? null : validateFlag.trim();
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }


	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public Integer getCycleDate() {
		return cycleDate; 
	}

	public void setCycleDate(Integer cycleDate) {
		this.cycleDate = cycleDate;
	}

	public String getBookId() {
		return bookId;
	}

	public void setBookId(String bookId) {
		this.bookId = bookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getBookImg() {
		return bookImg;
	}

	public void setBookImg(String bookImg) {
		this.bookImg = bookImg;
	}

	public String getWords() {
		return words;
	}

	public void setWords(String words) {
		this.words = words;
	}

	public String getChapter() {
		return chapter;
	}

	public void setChapter(String chapter) {
		this.chapter = chapter;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public Integer getTaskTime() {
		return taskTime;
	}

	public void setTaskTime(Integer taskTime) {
		this.taskTime = taskTime;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getReadRate() {
		return readRate;
	}

	public void setReadRate(String readRate) {
		this.readRate = readRate;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Date getQueryDate() {
		return queryDate;
	}

	public void setQueryDate(Date queryDate) {
		this.queryDate = queryDate;
	}

	public String getStrQueryDate() {
		return strQueryDate;
	}

	public void setStrQueryDate(String strQueryDate) {
		this.strQueryDate = strQueryDate;
	}

	public String getCycleMonth() {
		return cycleMonth;
	}

	public void setCycleMonth(String cycleMonth) {
		this.cycleMonth = cycleMonth;
	}

	public String getMinTaskDate() {
		return minTaskDate;
	}

	public void setMinTaskDate(String minTaskDate) {
		this.minTaskDate = minTaskDate;
	}

	public String getMaxTaskDate() {
		return maxTaskDate;
	}

	public void setMaxTaskDate(String maxTaskDate) {
		this.maxTaskDate = maxTaskDate;
	}

	public Integer getnTotalTaskDate() {
		return nTotalTaskDate;
	}

	public void setnTotalTaskDate(Integer nTotalTaskDate) {
		this.nTotalTaskDate = nTotalTaskDate;
	}


	public String getPreReadTime() {
		return preReadTime;
	}

	public void setPreReadTime(String preReadTime) {
		this.preReadTime = preReadTime;
	}

	@Override
	public String toString() {
		return "CycleDetailDTO [id=" + id + ", mainId=" + mainId + ", taskDate=" + taskDate + ", strTaskDate="
				+ strTaskDate + ", taskName=" + taskName + ", taskOrder=" + taskOrder + ", taskTime=" + taskTime
				+ ", gmtCreate=" + gmtCreate + ", createUser=" + createUser + ", gmtModified=" + gmtModified
				+ ", modifiedUser=" + modifiedUser + ", validateFlag=" + validateFlag + ", remarks=" + remarks
				+ ", orgId=" + orgId + ", cycleDate=" + cycleDate + ", bookId=" + bookId + ", bookName=" + bookName
				+ ", bookImg=" + bookImg + ", words=" + words + ", chapter=" + chapter + ", price=" + price + ", type="
				+ type + ", press=" + press + ", author=" + author + ", readRate=" + readRate + ", userId=" + userId
				+ ", queryDate=" + queryDate + ", strQueryDate=" + strQueryDate + ", cycleMonth=" + cycleMonth
				+ ", minTaskDate=" + minTaskDate + ", maxTaskDate=" + maxTaskDate + ", nTotalTaskDate=" + nTotalTaskDate
				+ ", preReadTime=" + preReadTime + "]";
	}


}